package net.aiion.weave.impl.xml.events;

import net.aiion.weave.spi.xml.events.AttributeXmlEvent;
import net.aiion.weave.spi.xml.events.CharactersXmlEvent;
import net.aiion.weave.spi.xml.events.CommentXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentEndXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentStartXmlEvent;
import net.aiion.weave.spi.xml.events.DocumentTypeDefinitionXmlEvent;
import net.aiion.weave.spi.xml.events.ElementEndXmlEvent;
import net.aiion.weave.spi.xml.events.ElementStartXmlEvent;
import net.aiion.weave.spi.xml.events.NamespaceXmlEvent;
import net.aiion.weave.spi.xml.events.ProcessingInstructionXmlEvent;
import net.aiion.weave.spi.xml.events.SourceXmlEvent;
import net.aiion.weave.spi.xml.events.XmlEvent;

public abstract class XmlEventImpl implements XmlEvent
{
    public XmlEventImpl() {
    }

    @Override
    public SourceXmlEvent asSource() {
        return (SourceXmlEvent) this;
    }

    @Override
    public DocumentStartXmlEvent asDocumentStart() {
        return (DocumentStartXmlEvent) this;
    }

    @Override
    public DocumentTypeDefinitionXmlEvent asDocumentTypeDefinition() {
        return (DocumentTypeDefinitionXmlEvent) this;
    }

    @Override
    public ProcessingInstructionXmlEvent asProcessingInstruction() {
        return (ProcessingInstructionXmlEvent) this;
    }

    @Override
    public ElementStartXmlEvent asElementStart() {
        return (ElementStartXmlEvent) this;
    }

    @Override
    public AttributeXmlEvent asAttribute() {
        return (AttributeXmlEvent) this;
    }

    @Override
    public NamespaceXmlEvent asNamespace() {
        return (NamespaceXmlEvent) this;
    }

    @Override
    public CharactersXmlEvent asCharacters() {
        return (CharactersXmlEvent) this;
    }

    @Override
    public CommentXmlEvent asComment() {
        return (CommentXmlEvent) this;
    }

    @Override
    public ElementEndXmlEvent asElementEnd() {
        return (ElementEndXmlEvent) this;
    }

    @Override
    public DocumentEndXmlEvent asDocumentEnd() {
        return (DocumentEndXmlEvent) this;
    }
}
